#!/bin/bash
# Time: 2022-04-19 22:44:25
# Desc: 测试套teardown

if [ -f "$TST_TS_TOPDIR/common/lib/common.sh" ]; then
    # 先source全局公共文件
    source "$TST_TS_TOPDIR/common/lib/common.sh" || exit 1
    # 再source测试用例自定义的公共文件
    source "$TST_TS_TOPDIR/lib/ts_common.sh" || exit 1
elif [ -f "$TST_TS_TOPDIR/lib/common.sh" ]; then
    # 只是tst_suite_common使用
    source "$TST_TS_TOPDIR/lib/common.sh" || exit 1
else
    echo "can't find the tsuite common file"
    exit 1
fi

# 公共teardown逻辑
